import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import { createPinia } from "pinia";
import "animate.css";
import "virtual:svg-icons-register";
import VueMapboxTs from "vue-mapbox-ts";
import TDesign from "tdesign-mobile-vue";
import "tdesign-mobile-vue/es/style/index.css";
// pina持久化存储
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
createApp(App)
  .use(router)
  .use(pinia)
  .use(TDesign)
  .use(VueMapboxTs)
  .mount("#app");
